<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title><?php echo $title_for_layout; ?></title>
        <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

        <?php
        echo $this->Html->css('bootstrap.css');
        echo $this->Html->css('animate.css');
        echo $this->Html->css('font-awesome.min.css');
        echo $this->Html->css('font.css', null, array('cache' => false));
        echo $this->Html->css('plugin.css');
        echo $this->Html->css('app.css');
        echo $this->Html->css('landing.css', null, array('cache' => false));
        
        echo $this->Html->script('jquery.min.js');
        ?>
        <!--[if lt IE 9]>
          <script src="js/ie/respond.min.js" cache="false"></script>
          <script src="js/ie/html5.js" cache="false"></script>
          <script src="js/ie/fix.js" cache="false"></script>
        <![endif]-->
    </head>
    <body data-spy="scroll" data-target="#header" class="bg-white" id="home">
        <div class="container">
            <?php echo $this->fetch('content'); ?>
        </div>
    </body>
    
    <script>
        $(document).ready(function() {
            window.print();
            
            setTimeout(function() {
                window.close();
            }, 15 * 1000);
        });
    </script>
</html>